using AutoMapper;
using UwinEducation.Application.Dtos.Descriptions;
using UwinEducation.Domain.Entities;

namespace UwinEducation.Application.Mappings
{
    /// <summary>
    /// 描述映射配置
    /// </summary>
    public class DescriptionMappingProfile : Profile
    {
        public DescriptionMappingProfile()
        {
            CreateMap<Description, DescriptionDto>();
            CreateMap<CreateDescriptionDto, Description>();
            CreateMap<UpdateDescriptionDto, Description>();
        }
    }
} 